<?php

namespace App\Model;

use App\BaseModel;

class ProductAttrValue extends BaseModel
{
    protected $hidden =["attr_label_id","deleted_at","updated_at","created_at"];

    protected $table = "product_attr_values";

    public static function getLabelValueById($id)
    {
        $c = self::find($id);
        return $c?$c->value:$id;
    }
}
